package cn.pconline.autoclub.entity;

import java.util.Date;

import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;
import org.gelivable.dao.Label;

@Entity(tableName = "ac_user_voted") @Label("用户投票选项明细")
public class UserVoted {

	@Id
	@Label("用户ID")
	@Column(name = "user_id")
	private long userId;
	
	@Id
	@Label("投票选项ID")
	@Column(name = "vote_item_id")
	private long voteItemId;
	
	@Label("投票主题ID")
	@Column(name = "vote_id")
	private long voteId;
	
	@Label("投票时间")
	@Column(name = "create_at")
	private Date createAt;

	public long getUserId() {
    	return userId;
    }

	public void setUserId( long userId ) {
    	this.userId = userId;
    }

	public long getVoteItemId() {
    	return voteItemId;
    }

	public void setVoteItemId( long voteItemId ) {
    	this.voteItemId = voteItemId;
    }

	public Date getCreateAt() {
    	return createAt;
    }

	public void setCreateAt( Date createAt ) {
    	this.createAt = createAt;
    }

	public long getVoteId() {
    	return voteId;
    }

	public void setVoteId( long voteId ) {
    	this.voteId = voteId;
    }
	
}

